import shopContainer from "../../views/shop/container.vue"
// import transportView from "../../views/shop/transport.vue"
import manageTypeView from "../../views/shop/manage/type.vue" 
import manageAddView from "../../views/shop/manage/add.vue" 
import manageEditView from "../../views/shop/manage/edit.vue" 
import goodAddView from '../../views/shop/manage/goods/add.vue'
import goodDetailView from '../../views/shop/manage/goods/detail.vue'
import goodZiZhiView from '../../views/shop/manage/goods/spzizhi.vue'
import addZiZhiView from '../../views/shop/manage/goods/addzizhi.vue'
import meStoreView from '../../views/shop/me/store_setting.vue'
import meAccountView from '../../views/shop/me/account_setting.vue'
// import addShopView from "../../views/shop/add.vue"
// import detailShopView from "../../views/shop/detail.vue"
// import statusShopView from "../../views/shop/status.vue"
const shop={
    path:"/shop",
    component:shopContainer,
    children:[
       //我的页面账号设置
       {
        path:"me/account",
        component:meAccountView
      },
      //我的页面店铺设置
      {
        path:"me/store",
        component:meStoreView
      },
      //商品类型
             {
        path:"type",
        component:manageTypeView
       },
       //添加商品类型
       {
         path:"type/add",
         component:manageAddView
        },
        //商品类型编辑
        {
          path:"type/edit",
          component:manageEditView
         },
         //添加商品
         {
          path:"manage/add",
          component:goodAddView
         },
         //商品详情
         {
          path:"manage/detail/:id",
          component:goodDetailView
         },
         //商品资质
         {
          path:"spzizhi/:id",
          component:goodZiZhiView
         },
        //添加商品资质
        {
          path:"addzizhi/:id",
          component:addZiZhiView
         }
        // 发货情况页面
      //  {
      //   path:"tarnsport",
      //   component:transportView
      //  },
    //    添加商品页面
      //  {
      //   path:"add",
      //   component:addShopView
      //  },
    //    商品详情页面
      //  {
      //   path:"detail",
      //   component:detailShopView
      //  },
    //    商品上架/下架状况页面
      //  {
      //   path:"status",
      //   component:statusShopView
      //  },
    ]
}

export default shop